import request from '@/utils/request'

// 查询平台级每年社保基数维护列表
export function listSocialsecurity(query) {
  return request({
    url: '/business/socialsecurity/list',
    method: 'get',
    params: query
  })
}

// 查询平台级每年社保基数维护详细
export function getSocialsecurity(id) {
  return request({
    url: '/business/socialsecurity/' + id,
    method: 'get'
  })
}

// 新增平台级每年社保基数维护
export function addSocialsecurity(data) {
  return request({
    url: '/business/socialsecurity',
    method: 'post',
    data: data
  })
}

// 修改平台级每年社保基数维护
export function updateSocialsecurity(data) {
  return request({
    url: '/business/socialsecurity',
    method: 'put',
    data: data
  })
}

// 删除平台级每年社保基数维护
export function delSocialsecurity(id) {
  return request({
    url: '/business/socialsecurity/' + id,
    method: 'delete'
  })
}

// 导出平台级每年社保基数维护
export function exportSocialsecurity(query) {
  return request({
    url: '/business/socialsecurity/export',
    method: 'get',
    params: query
  })
}